package com.ruoyi.onlinevideo.domain;/**
 * @InterfaceName: Message
 * @Description:
 * @Author: YourName
 * @Date: 2023-04-14
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.mp.domain.CommonEntity;
import lombok.Data;

/**
 * @InterfaceName: Message
 * @Description:
 * @Author: lilirui
 * @Date: 2023-04-14
 */
@Data
public class Message extends CommonEntity {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long sender;

    @TableField(exist = false)
    private String senderName;

    private Long receiver;

    @TableField(exist = false)
    private String receiverName;

    private String content;
}
